cmake_minimum_required(VERSION 3.16)

project(queue_executor LANGUAGES CXX)

set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

add_executable(queue_executor main.cpp
    shared_queue.hpp
    task_executor.hpp)

include(GNUInstallDirs)
install(TARGETS queue_executor
    LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
    RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
)
